package com.lpfy.dtxc;

import android.graphics.Bitmap;

/**
 * @author liangyang@educloudcn.com
 * @time: 2024/02/24
 * @description
 * @copyright (c) 2020 zjyz Foundation. All rights reserved.
 */
public class BVImageBean {

    private String path;
    private String fileType;
    private int duration;

    private Bitmap bitmap;

    public BVImageBean() {}


    public BVImageBean(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    public BVImageBean(String path) {
        this.path = path;
    }

    public BVImageBean(String path, String fileType,int duration) {
        this.path = path;
        this.fileType = fileType;
        this.duration = duration;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public String getFilePath() {
        return path;
    }

    public void setFileUrl(String path) {
        this.path = path;
    }

    public Bitmap getBitmap() {
        return bitmap;
    }

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    public String getFileType() {
        return fileType == null ? "" : fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType == null ? "" : fileType;
    }
}
